package cn.echo42.service;

import cn.echo42.mapper.UserMapper;
import cn.echo42.pojo.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author DaiZhiZhou
 * @file SSM-NoMavenVersion
 * @create 2020-07-18 22:23
 */

@Service
public class UserServiceImpl implements UserService{

    @Autowired
    private UserMapper userMapper;

    @Override
    public List<User> getUserList() {
        return userMapper.queryUserList();
    }
}
